from django import forms
from django.db.models import fields 
from .models import *

class EformSchemaForm(forms.Form):
    """EformSchemaForm definition."""
    class Meta:
        fields  ='_all__'
    
    # TODO: Define form fields here

class copySchemaForm(forms.Form):
    SCHEMA_CHOICES=EformSchema.objects.all().order_by('formNo')
    formNo = forms.ModelChoiceField(label='COPY FORM', queryset=SCHEMA_CHOICES)

class seachEform(forms.Form):
    search=forms.CharField(max_length=100)